﻿<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
	<CustomAction
	  Id="METAViewer.DisplayFormToolbar"  
	  ImageUrl="/_layouts/images/METAViewer-x.gif"
	  RegistrationType="List"
	  RegistrationId="101"
	  Location="DisplayFormToolbar"
	  Sequence="2000"
	  Title="META Properties">
		<UrlAction Url="javascript:window.open('/_layouts/metaredirect.aspx?siteurl={SiteUrl}&amp;itemurl={ItemUrl}&amp;itemid={ItemId}&amp;listid={ListId}', '_blank');"/>
	</CustomAction>
	<CustomAction
	  Id="METAViewer.ViewToolbar"
	  ImageUrl="/_layouts/images/METAViewer-x.gif"
	  RegistrationType="List"
	  RegistrationId="101"
	  Location="ViewToolbar"
	  Sequence="2000"
	  Title="META Properties">
		<UrlAction Url="javascript:window.open('/_layouts/metaredirect.aspx?siteurl={SiteUrl}&amp;itemurl={ItemUrl}&amp;itemid={ItemId}&amp;listid={ListId}', '_blank');"/>
	</CustomAction>
	<CustomAction 
		Id="METAViewer.EditControlBlock"
		ImageUrl="/_layouts/images/METAViewer-x.gif"
		RegistrationType="List"
		RegistrationId="101"
		Location="EditControlBlock"
		Sequence="2000"
		Title="META Properties">
		<UrlAction Url="javascript:window.open('/_layouts/metaredirect.aspx?siteurl={SiteUrl}&amp;itemurl={ItemUrl}&amp;itemid={ItemId}&amp;listid={ListId}', '_blank');"/>
	</CustomAction>
	<CustomAction
		Id="METAViewer.EditFormToolbar"
		ImageUrl="/_layouts/images/METAViewer-x.gif"
		RegistrationType="List"
		RegistrationId="101"
		Location="EditFormToolbar"
		Sequence="2000"
		Title="META Properties">
		<UrlAction Url="javascript:window.open('/_layouts/metaredirect.aspx?siteurl={SiteUrl}&amp;itemurl={ItemUrl}&amp;itemid={ItemId}&amp;listid={ListId}', '_blank');"/>
	</CustomAction>
	<CustomAction
		Id="METAViewer.SiteActions"
		ImageUrl="/_layouts/images/METAViewer-xx.gif"
		RegistrationType="List"
		RegistrationId="101"
		Location="Microsoft.SharePoint.StandardMenu"
		GroupId="SiteActions"
		Description="" 
		Sequence="2000"
		Title="META Properties">
		<UrlAction Url="javascript:window.open('/_layouts/metaredirect.aspx?siteurl={SiteUrl}&amp;itemurl={ItemUrl}&amp;itemid={ItemId}&amp;listid={ListId}', '_blank');"/>
	</CustomAction>	
	<CustomAction
		Id="METAViewer.ActionsMenu"
		ImageUrl="/_layouts/images/METAViewer-xx.gif"
		RegistrationType="List"
		RegistrationId="101"
		Location="Microsoft.SharePoint.StandardMenu"
		GroupId="ActionsMenu"
		Sequence="2000"
		Title="META Properties">
		<UrlAction Url="javascript:window.open('/_layouts/metaredirect.aspx?siteurl={SiteUrl}&amp;itemurl={ItemUrl}&amp;itemid={ItemId}&amp;listid={ListId}', '_blank');"/>
	</CustomAction>	
</Elements>